DataCollection | ComponentOne
C1.DataCollection.AdoNet Assembly / C1.DataCollection.AdoNet Namespace / C1AdoNetCursorDataCollection<T> Class / C1AdoNetCursorDataCollection<T> Constructor
The connection to the Ado.Net source.
The name of the table.
The fields that will be queried.
Size of the page to be fetched.

In This Topic
    C1AdoNetCursorDataCollection<T> Constructor
    In This Topic
    Initializes a new instance of the C1AdoNetCursorDataCollection<T> class.
    Syntax
    'Declaration
     
    Public Function New( _
       ByVal connection As DbConnection, _
       ByVal tableName As String, _
       Optional ByVal fields As IEnumerable(Of String), _
       Optional ByVal pageSize As Integer _
    )
    public C1AdoNetCursorDataCollection<T>( 
       DbConnection connection,
       string tableName,
       IEnumerable<string> fields,
       int pageSize
    )

    Parameters

    connection
    The connection to the Ado.Net source.
    tableName
    The name of the table.
    fields
    The fields that will be queried.
    pageSize
    Size of the page to be fetched.
    See Also